Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  GetProperty
Prev Next

GetProperty returns the current value of the specified property.  The method returns the property value as a string, or, if the property was not found, returns null.

string GetProperty(
  string name,
  CallContext context
)

Sitecore may call the GetProperty method whenever it needs the value of a property stored in the data source.  Examples include the provider version and publishing statistics.


Prev Next